﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tCompensateEventDefinition")]
[XmlRoot("compensateEventDefinition", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class CompensateEventDefinition : EventDefinition
{
    /// <remarks/>
    [XmlAttribute("waitForCompletion")]
    public bool WaitForCompletion { get; set; } = default!;

    /// <remarks/>
    [XmlIgnore]
    public bool WaitForCompletionSpecified { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("activityRef")]
    public XmlQualifiedName ActivityRef { get; set; } = default!;
}
